//package com.qw.gulimall.product.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * created by qw on 2022/8/4
// */
//@Configuration
//public class GulimailWebConfig implements WebMvcConfigurer {
//    /**
//     * 视图映射
//     * @param registry
//     */
//    @Override
//    public void addViewControllers(ViewControllerRegistry registry) {
//        registry.addViewController("/doc.html").setViewName("doc");
////        registry.addViewController("/login.html").setViewName("login");
//    }
//}